package com.world.cat.model.sys;


import com.world.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统配置
 */
@Entity
@Table(name = "sys_config")
public class Config extends BaseEntity {

    @Column(name = "config_key", length = 50)
    private String configKey;
    @Column(name = "config_value", columnDefinition = "text")
    private String configValue;
    @Column(name = "description", length = 200)
    private String description;
    @Column(name = "status", length = 20)
    private String status;

    /**
     * default constructor
     */
    public Config() {
    }

    public Config(String configKey, String configValue, String description, String status) {
        this.configKey = configKey;
        this.configValue = configValue;
        this.description = description;
        this.status = status;
    }

    public String getConfigKey() {
        return this.configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getConfigValue() {
        return this.configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}